package net.csdn.business.discuss.api.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName SyncDeleteDTO
 * @Description TODO
 * @Author zhangyl
 * @Date 2024/04/30 10:58
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SyncDeleteDTO implements Serializable {
    /** 组织ID/仓库ID； */
    @NotBlank(message = "sourceId不能为空")
    private String sourceId;
    /** 1:组织；2:仓库 */
    @NotNull(message = "sourceType不能为空")
    private Integer sourceType;
}
